package com.sanjiahantang.ythshopping.model;

import java.io.Serializable;

/**
 * Created by ZHY_9 on 2017/6/14.
 */

public class ScanOrders implements Serializable {

    private int id;
    private int pay_id;//该订单支付方式id
    private float surplus;//该订单使用的账户余额
    private float integral;//该订单使用的消费券
    private String addtime;//该订单创建时间
    private int pay_status;//该订单支付状态0:未付款；1:付款中；2:已付款
    private float order_amount;//该订单线上支付应该支付的金额
    private float all_amount;//该订单总金额
    private String pay_name;//该订单支付方式名字
    private String order_sn;//该订单订单号
    private float money_paid;//该订单线上支付已支付的金额
    private String title;//该订单消费的联盟商家店铺名称
    private int sid;//该订单消费的联盟商家店铺id
    private int log_id;//该订单的支付日志id


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPay_id() {
        return pay_id;
    }

    public void setPay_id(int pay_id) {
        this.pay_id = pay_id;
    }

    public float getSurplus() {
        return surplus;
    }

    public void setSurplus(float surplus) {
        this.surplus = surplus;
    }

    public float getIntegral() {
        return integral;
    }

    public void setIntegral(float integral) {
        this.integral = integral;
    }

    public String getAddtime() {
        return addtime;
    }

    public void setAddtime(String addtime) {
        this.addtime = addtime;
    }

    public int getPay_status() {
        return pay_status;
    }

    public void setPay_status(int pay_status) {
        this.pay_status = pay_status;
    }

    public float getOrder_amount() {
        return order_amount;
    }

    public void setOrder_amount(float order_amount) {
        this.order_amount = order_amount;
    }

    public float getAll_amount() {
        return all_amount;
    }

    public void setAll_amount(float all_amount) {
        this.all_amount = all_amount;
    }

    public String getPay_name() {
        return pay_name;
    }

    public void setPay_name(String pay_name) {
        this.pay_name = pay_name;
    }

    public String getOrder_sn() {
        return order_sn;
    }

    public void setOrder_sn(String order_sn) {
        this.order_sn = order_sn;
    }

    public float getMoney_paid() {
        return money_paid;
    }

    public void setMoney_paid(float money_paid) {
        this.money_paid = money_paid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public int getLog_id() {
        return log_id;
    }

    public void setLog_id(int log_id) {
        this.log_id = log_id;
    }

    @Override
    public String toString() {
        return "ScanOrders{" +
                "id=" + id +
                ", pay_id=" + pay_id +
                ", surplus=" + surplus +
                ", integral=" + integral +
                ", addtime='" + addtime + '\'' +
                ", pay_status=" + pay_status +
                ", order_amount=" + order_amount +
                ", all_amount=" + all_amount +
                ", pay_name='" + pay_name + '\'' +
                ", order_sn='" + order_sn + '\'' +
                ", money_paid=" + money_paid +
                ", title='" + title + '\'' +
                ", sid=" + sid +
                ", log_id=" + log_id +
                '}';
    }
}
